/*
 * @Author: EuniceShaw
 * @Date: 2022-03-27 17:02:19
 * @LastEditors: EuniceShaw
 * @LastEditTime: 2022-04-10 11:00:10
 * @Description:
 *
 */
import { GetterTree } from 'vuex';
import { IRootState } from '../index';

// 定义全局getters
const getters: GetterTree<IRootState, IRootState> = {
  sidebar: state => state.app.sidebar,
  size: state => state.app.size
};

export default getters;
